<?php
session_start();
$db = pg_connect('host=dbsrv1 dbname=csc309g16 user=csc309g16 password=ieph6ies') or die('Could not connect: ' . pg_last_error()); 
?>